﻿using MODEL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class ClassManage
    {

        /// <summary>
        /// 查询班级信息
        /// </summary>
        /// <returns></returns>
        public static DataTable ChaXunClass()
        {
            return DAL.ClassService.ChaXunClass();

        }
        /// <summary>
        /// 有条件的查询班级信息
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public static DataTable ChaXunClassName(string name)
        {
            return DAL.ClassService.ChaXunClassName(name);
        }
        //登录
        public static int ChaXunClassPwd(Class @class)
        {

            return DAL.ClassService.ChaXunClassPwd(@class);

        }
    }
}
